Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: rename coalesce(x,y) alias in test_templater [NFC] #3392

Closed
wants to merge 1 commit into from

Conversation

thoughtpolice
Copy link
Contributor

Yuya added coalesce() as a built-in function with variable arity in a2a9b7d, and we want to use it with more-than-two arguments in the default log_node configuration in order to provide better graph node symbols for users.

However, test_templater already defined this name as an alias, but with only two parameters; this alias now conflicts with the built-in definition and overrides it, causing the test to fail catastrophically because now the default configuration is considered invalid.

Simply renaming it fixes this without invalidating the actual test case.


Note: I pulled this out of #3381 because I realized anyone who now uses coalesce() in their log_node setting, like I do, can no longer run the tests. So, this should just go in ASAP, in my opinion.

Yuya added `coalesce()` as a built-in function with variable arity in
a2a9b7d, and we want to use it with more-than-two arguments in the default
`log_node` configuration in order to provide better graph node symbols for
users.

However, `test_templater` already defined this name as an alias, but with
only two parameters; this alias now conflicts with the built-in definition and
overrides it, causing the test to fail catastrophically because now the default
configuration is considered invalid.

Simply renaming it fixes this without invalidating the actual test case.

Signed-off-by: Austin Seipp <[email protected]>
Change-Id: I18593f64b9168fc334001c2ff5d49ad8d81c006d
@thoughtpolice thoughtpolice enabled auto-merge (rebase) March 28, 2024 20:18
@thoughtpolice
Copy link
Contributor Author

Actually, I forgot that the test runner doesn't use the global config so this isn't needed; I need to get more sleep, clearly. :) I'll just leave it as part of the other PR.

auto-merge was automatically disabled March 28, 2024 20:41

Pull request was closed

@thoughtpolice thoughtpolice deleted the aseipp/push-ltkmyxmqrkls branch March 28, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant